// [[ OnflowGenerator File UUID: 1ba0531233c04feabceefb31dadc7771  ]]
package com.itdct.onflow.system.task.mapper;

import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.core.vo.KeyLabelValueVo;
import com.itdct.onflow.system.task.entity.SysTaskEntity;
import com.itdct.onflow.system.task.qo.SysTaskSearchQo;
import com.itdct.onflow.system.task.vo.SysTaskDetailVo;
import com.itdct.onflow.system.task.vo.SysTaskListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author DCTANT
 * @date 2025-09-19 16:39:00
 * @version 1.0
 * @description 定时任务查询工具
 */
@Mapper
public interface SysTaskMapper extends BaseMapper<SysTaskEntity> {
    @Nullable
    SysTaskDetailVo findById(Long id);

    @NotNull
    List<SysTaskListVo> findByList(SysTaskSearchQo qo);

    // [[ OnflowGenerator Range (- selectFunctions -) Start ]]
    @NotNull
    List<KeyLabelValueVo> selectNameList(SysTaskSearchQo qo);

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
